package com.lkm.app_ui.ui.second;


import com.lkm.app_ui.ui.PayOutlineFragment;
import com.lkm.frame.P;


public class UIManifest {

    public static Class getSaleingFragment(){
        return SaleingFragment.class;
    }



    public static SaleingFragment getSaleingFragmentObject(){
        return SaleingFragment.getInstance();
    }




    public static Class getIdleFragment(){
        return IdleFragment.class;
    }
    public static IdleFragment getIdleFragmentObject(){
        return IdleFragment.getInstance();
    }




    public static Class getPaySuccessTipsFragment(){
        return PaySuccessTipsFragment.class;
    }
    public static PaySuccessTipsFragment getPaySuccessTipsFragmentObject(String printTable,String orderurl){
        return PaySuccessTipsFragment.getInstance(printTable,orderurl);
    }



    public static Class getPayUseOnlineFragment(){
        return PayOutlineFragment.class;
    }
    public static PayOutlineFragment getPayUseOnlineFragmentObject(float allTotalPrice){
        //P.p("Bill-> UIManifest ->showPayOutline");
        return PayOutlineFragment.getInstance();
    }




    public static boolean isHoldScreen(Class c){

        if (c == UIManifest.getPayUseOnlineFragment()) {
            return true;
        }

        if (c == Pay2Fragment.class) {
            return true;
        }

        return false;
    }


}
